package com.warm.pump.module.work.service;

import com.warm.pump.module.work.bean.po.gen.WorVersion;
import com.warm.pump.frame.gen.bean.PageBean;

import java.util.List;
import java.util.Map;

/**
 * work_version
 *
 */
public interface IWorVersionService {

	WorVersion queryObject(Long  id);

   WorVersion queryObject(Map<String, Object> map);
	
	List<WorVersion> queryList(Map<String, Object> map);

    PageBean getPageBeanByMap(Map map,int pageNo,int pageSize);

    int queryTotal(Map<String, Object> map);
	
	void save(WorVersion worVersion);
	
	void update(WorVersion worVersion);

    void delete(Map<String, Object>  map);
	void delete(Long  id);
	
	void deleteBatch(Long[]  ids);
}
